{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "用户名称：yunpeng\n",
      "密码：z0510\n",
      "您是尊贵的会员用户～\n",
      "尊贵的会员，您今天还有 10 次输入的机会~\n"
     ]
    }
   ],
   "source": [
    "user_data = \"yunpeng\"\n",
    "user_password = \"z0510\"\n",
    "user_name = input(\"用户名称：\")\n",
    "password = input(\"密码：\")\n",
    "\n",
    "if user_name == user_data:\n",
    "    if password == user_password:\n",
    "        print(\"您是尊贵的会员用户～\")\n",
    "        count = 11\n",
    "        while True:\n",
    "            count -= 1\n",
    "            if count == 0:\n",
    "                print(\"尊贵的会员，您一天能输入10次哦～\")\n",
    "            else:\n",
    "                print(\"尊贵的会员，您今天还有\", count, \"次输入的机会~\")\n",
    "\n",
    "                week_time = int(input(\"今天星期几（请输入0-6的数字）：\"))\n",
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(week_time)\n",
    "if week_time==1:\n",
    "    print(\"星期一有二节课\");print(\"8-10python语言\");print(\"12-13毛概实践\")\n",
    "elif week_time==2:\n",
    "    print(\"星期二有二节课\");print(\"3-5创业基础\");print(\"8-9H5互动技术与应用\")\n",
    "elif week_time==3:\n",
    "    print(\"星期三有一节课\");print(\"4-5大学英语\")\n",
    "elif week_time==4:\n",
    "    print(\"星期四有一节课\");print(\"8-9广告文案写作\")\n",
    "elif week_time==5:\n",
    "    print(\"星期五有三节课\");print(\"1-2大学英语\");print(\"4-5篮球\");print(\"8-10毛概理论\")\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"嗨皮\")\n",
    "print(\"FINISH\")\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
